/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controladoresJPA;

/**
 * @author Hern&aacute;ndez Abahonza Diana Carolina 1031083
 * @author L&oacute;pez Juan Camilo
 * @author Moncada Mu&nacute;oz Juan David
 */

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class ConnectionFactory {
    private EntityManagerFactory factory;
    
    public ConnectionFactory(){
        factory = Persistence.createEntityManagerFactory("EntregaPersistenciaPU");
    }
    
    public EntityManagerFactory getFactory(){
        return factory;
    }
}